﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Wicresoft.Task.Team.Entity
{
    public class WorkItemInfo
    {

        [Key]
        public int Id { get; set; }

        [Required]
        [DefaultValue(-1)]
        public int WorkItemId { get; set; }


        [Required]
        [StringLength(200)]
        public string Title { get; set; }

        [Required]
        [StringLength(200)]
        public string Area { get; set; }

        [Required]
        [ForeignKey("ShelvesetId ")]
        public int ShelvesetId { get; set; }

        public virtual ShelveInfo shelveInfo { get; set; }

    }
}
